#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "lt_unit.h"
#include "lt_logger.h"
#include "lt_host_info.h"
#include "lt_config.h"

static char cur_dir[MAX_RESULT_LENGTH]="";

lt_boolean update_cur_dir(char *dir)
{
	if ( strlen(dir) > 0 && dir != NULL )
	{
		log_info("process running path %s", dir);
		strcpy(cur_dir, dir);
		return lt_true;
	}
	return lt_false;
}

lt_boolean static_genernal_info(int argc, char **args)
{
	char cmd[MAX_COMMAND_LENGTH] = "";
	snprintf(cmd, sizeof cmd, "/usr/local/linux_tools/shell/Static_Check_Script.sh");
	printf("cmd %s\n", cmd);
	log_info("execute cmd %s", cmd);
	print_cmd_execute(cmd);
	return lt_true;
}